package com.czg.designmode.singleton;

/**
 * 饿汉式-线程安全
 *
 * @author chenzhigang
 */
public class HungrySingleton {

    private static HungrySingleton hungrySingleton = new HungrySingleton();

    public static HungrySingleton getInstance() {
        return hungrySingleton;
    }
}
